<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>拼音输入法</title>
    <style>
        #input-box {
            width: 300px;
            height: 30px;
            font-size: 16px;
        }
        #suggestions {
            border: 1px solid #ccc;
            display: none;
            position: absolute;
            background: white;
        }
        .suggestion {
            padding: 5px;
            cursor: pointer;
        }
        .suggestion:hover, .selected {
            background: #eee;
        }
    </style>
</head>
<body>
    <input type="text" id="input-box" placeholder="输入拼音...">
    <div id="suggestions"></div>
    
    
</body>
<script src="./script.js"></script>
</html>
